//
// Created by cjg on 2018/5/30.
// Copyright (c) 2018 chenjg. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol AFMultipartFormData;

@interface CCNetModel : NSObject

@property(nonatomic, strong) NSData *data;

@property(nonatomic, strong) NSString *key;

@property(nonatomic, strong) NSString *dataType;

@property(nonatomic, strong) NSString *fileName;

- (void)addToFormData:(id <AFMultipartFormData>)formData;

- (instancetype)initWithData:(NSData *)data
                         key:(NSString *)key
                    fileName:(NSString *)fileName
                    dataType:(NSString *)datatype;


@end